package com.zr.serviceImpl;

import com.zr.dao.YgxxDao;
import com.zr.daoImpl.YgxxDaoImpl;
import com.zr.model.User;
import com.zr.service.Ygxxservice;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

public class YgxxserviceImpl implements Ygxxservice{
        YgxxDao y=new YgxxDaoImpl();
	@Override
	public JSONArray getStudents(int eid) {
	       User u=y.getuserxx(eid);
	       JSONArray j=JSONArray.fromObject(u);
	       return j;
	}

}
